package com.mxt.moviedemo.service;

import com.mxt.moviedemo.entity.*;

import java.util.List;

public interface ActorsService {
    PageResult<Actors> searchActorsByKeyword(PageRequest pageRequest, String keyword);

    Actors getActorById(int aid);


    PageResult<Actors> getActorsByPage(PageRequest pageRequest);

    List<Actors> searchActorsByName(String aname);
    int addActors(Actors actors);
    boolean updateActors(Actors actors);
    int deleteActors(int aid);
}